package com.ymatou.iapi.godmch.parameter;
import com.ymt.base.BaseBean;
import java.math.BigDecimal;
import java.util.List;
/**
*设置自动加价规则Bean
*FreeMaker Template自动生成代码
*/
public class SetMarkupConfigBean extends BaseBean{
 
	/**代理商id*/
	private Integer agentId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#agentId
	 */
	public Integer getAgentId(){
 
		return agentId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#agentId
	 */
	public void setAgentId(Integer agentId){
 
		this.agentId = agentId;
 
	}
	/**供货商id列表*/
	private List<Integer> supplierId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#supplierId
	 */
	public List<Integer> getSupplierId(){
 
		return supplierId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#supplierId
	 */
	public void setSupplierId(List<Integer> supplierId){
 
		this.supplierId = supplierId;
 
	}

	/**加价类型
	1：按百分比加价
	2：建议零售价
	3：不加价*/
	private Integer markupType;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#markupType
	 */
	public Integer getMarkupType(){
 
		return markupType;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#markupType
	 */
	public void setMarkupType(Integer markupType){
 
		this.markupType = markupType;
 
	}
	/**自动加价百分比*/
	private BigDecimal percentage;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#percentage
	 */
	public BigDecimal getPercentage(){
 
		return percentage;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#percentage
	 */
	public void setPercentage(BigDecimal percentage){
 
		this.percentage = percentage;
 
	}
	/**加价后小数处理方式

1：精确到个位数

2：保留小数点后1位

3：保留小数点后2位

4：精确到十位数*/
	private Integer decimalType;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#decimalType
	 */
	public Integer getDecimalType(){
 
		return decimalType;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#decimalType
	 */
	public void setDecimalType(Integer decimalType){
 
		this.decimalType = decimalType;
 
	}
	/**上架类型

	1：自动添加到我的店
	
	2：手动上架到我的店*/
	private Integer onSaleType;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#onSaleType
	 */
	public Integer getOnSaleType(){
 
		return onSaleType;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#onSaleType
	 */
	public void setOnSaleType(Integer onSaleType){
 
		this.onSaleType = onSaleType;
 
	}
	/**是否覆盖已添加的商品价格*/
	private boolean refreshProduct;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#refreshProduct
	 */
	public boolean getRefreshProduct(){
 
		return refreshProduct;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.SetMarkupConfigBean#refreshProduct
	 */
	public void setRefreshProduct(boolean refreshProduct){
 
		this.refreshProduct = refreshProduct;
 
	}
}
